package com.bird.设计模式.结构型.桥接模式;

import com.sun.org.apache.regexp.internal.RE;

/**
 * @data 2022/3/16 11:09
 * @author: bird
 * @description: abc 账号
 */
public class ABCBank extends Bank {


    public ABCBank(Account account) {
        super(account);
    }

    @Override
    Account openAccount() {
        System.out.println("打开中国农业银行账号");
        account.openAccount();
        return account;
    }
}
